package com.lzz.entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

/**
 * @author zhenzhen
 * @date 2018-12-16 下午11:43
 */
public class UserBack {
    private Integer id;
    private String username;
    private String password;
    @JSONField(format = "yyyy-MM-dd hh:mm:ss")
    private Date birthday;

    public UserBack() {
    }

    public UserBack(Integer id, String username, String password, Date birthday) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.birthday = birthday;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }
}
